package org.noote.libs.assistant.analyse;

public class Phrase {

	static public enum Type
	{INDETERMINE,NEUTRE,INTERROGATIF,IMPERATIF};
	
	public Type _type = Type.INDETERMINE;
	
	public Liste_Elements _elements = new Liste_Elements();

	@Override
	public String toString()
	{
		String elFormat="";
		switch(_type)
		{
		case NEUTRE:
			 elFormat += "neu(";
			 elFormat += _elements.toString();
			 elFormat += ") ";
			 break;
		case INTERROGATIF:
			 elFormat += "int(";
			 elFormat += _elements.toString();
			 elFormat += ") ";
			 break;
		case IMPERATIF:
			 elFormat += "imp(";
			 elFormat += _elements.toString();
			 elFormat += ") ";
			 break;			 
		default:
			 elFormat += "?(";
			 elFormat += _elements.toString();
			 elFormat += ") ";
			break;
		}
		return elFormat;
	}
}
